﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Module.BusinessLogic;

namespace Web
{
    public partial class hinhanh : System.Web.UI.Page
    {
        
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                DataTable dt;
                dt = new DataTable();
                dt = CMSGalleryBL.GetAll(100, 1);
                if (dt != null && dt.Rows.Count > 0)
                {
                    rptGallery.DataSource = dt;
                    rptGallery.DataBind();

                }

            }
        }
    }
}